package com.ruoyi.find.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 分配经理人对象 house_appointment
 * 
 * @author gjq
 * @date 2025-09-18
 */
public class HouseAppointment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 预约记录唯一标识 */
    @Excel(name = "预约记录唯一标识")
    private Long id;

    /** 预约房源的联系人 */
    @Excel(name = "预约房源的联系人")
    private String contactPerson;

    /** 联系人的联系电话 */
    @Excel(name = "联系人的联系电话")
    private String contactPhone;

    /** 被预约的房源名称 */
    @Excel(name = "被预约的房源名称")
    private String houseName;

    /** 房源的类型，如新房、二手房等 */
    @Excel(name = "房源的类型，如新房、二手房等")
    private String houseType;

    /** 预约所采用的方式 */
    @Excel(name = "预约所采用的方式")
    private String appointmentMethod;

    /** 预约提交的时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预约提交的时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date submitTime;

    /** 负责该房源的经纪人 */
    @Excel(name = "负责该房源的经纪人")
    private String broker;

    /** 预约的当前状态，如待联系、已联系 */
    @Excel(name = "预约的当前状态，如待联系、已联系")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setContactPerson(String contactPerson) 
    {
        this.contactPerson = contactPerson;
    }

    public String getContactPerson() 
    {
        return contactPerson;
    }

    public void setContactPhone(String contactPhone) 
    {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone() 
    {
        return contactPhone;
    }

    public void setHouseName(String houseName) 
    {
        this.houseName = houseName;
    }

    public String getHouseName() 
    {
        return houseName;
    }

    public void setHouseType(String houseType) 
    {
        this.houseType = houseType;
    }

    public String getHouseType() 
    {
        return houseType;
    }

    public void setAppointmentMethod(String appointmentMethod) 
    {
        this.appointmentMethod = appointmentMethod;
    }

    public String getAppointmentMethod() 
    {
        return appointmentMethod;
    }

    public void setSubmitTime(Date submitTime) 
    {
        this.submitTime = submitTime;
    }

    public Date getSubmitTime() 
    {
        return submitTime;
    }

    public void setBroker(String broker) 
    {
        this.broker = broker;
    }

    public String getBroker() 
    {
        return broker;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("contactPerson", getContactPerson())
            .append("contactPhone", getContactPhone())
            .append("houseName", getHouseName())
            .append("houseType", getHouseType())
            .append("appointmentMethod", getAppointmentMethod())
            .append("submitTime", getSubmitTime())
            .append("broker", getBroker())
            .append("status", getStatus())
            .toString();
    }
}
